#ifndef DICTIONARY_H

#define DICTIONARY_H

typedef struct Nodo
{
        char * key;
        char * value;
        struct Nodo *nxt;
} Nodo;

typedef struct Dictionary
{
        Nodo * Lista; 
        int Count;
} Dictionary;

int Dictionary_Create(Dictionary *dic);
int Dictionary_Destroy(Dictionary *dic);
void Dictionary_Add(Dictionary *dic, const char * key, const char * value);
int Dictionary_Index(Dictionary *dic, const char * key, char * output);
int Dictionary_SetKey(Dictionary *dic, const char * key, const char * input);
int Dictionary_AtElement(Dictionary *dic, int id, char * output);
int Dictionary_Delete(Dictionary * dic, const char * key);

#endif 
